home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / + TYLKO W WERSJI CYFROWEJ + / PCWK_PROG / Source / 120 / ukryte2 / fukryte2.h < prev    next >
C/C++ Source or Header  |  2007-07-03  |  2KB  |  58 lines

  1. //---------------------------------------------------------------------------
  2.  
  3. #ifndef fukryte2H
  4. #define fukryte2H
  5. //---------------------------------------------------------------------------
  6. #include <Classes.hpp>
  7. #include <Controls.hpp>
  8. #include <StdCtrls.hpp>
  9. #include <Forms.hpp>
  10. #include <Dialogs.hpp>
  11. #include <ExtCtrls.hpp>
  12. #include <ExtDlgs.hpp>
  13. //---------------------------------------------------------------------------
  14. class TForm1 : public TForm
  15. {
  16. __published:    // IDE-managed Components
  17.     TPanel *Panel1;
  18.     TScrollBox *ScrollBox1;
  19.     TScrollBox *ScrollBox2;
  20.     TImage *Image1;
  21.     TImage *Image2;
  22.     TPanel *Panel2;
  23.     TButton *Button1;
  24.     TOpenPictureDialog *OpenPictureDialog1;
  25.     TButton *Button2;
  26.     TButton *Button4;
  27.     TSavePictureDialog *SavePictureDialog1;
  28.     TEdit *Edit1;
  29.     TLabel *Label1;
  30.     TLabel *Label2;
  31.     TEdit *Edit2;
  32.     TLabel *Label3;
  33.     TEdit *Edit3;
  34.     TButton *Button3;
  35.     TPanel *Panel3;
  36.     TScrollBox *ScrollBox3;
  37.     TImage *Image3;
  38.     TLabel *Label4;
  39.     TLabel *Label5;
  40.     void __fastcall Button1Click(TObject *Sender);
  41.     void __fastcall Button4Click(TObject *Sender);
  42.     void __fastcall Button3Click(TObject *Sender);
  43.     void __fastcall Button2Click(TObject *Sender);
  44.     void __fastcall Edit3Exit(TObject *Sender);
  45. private:    // User declarations
  46.     int X_POZ, Y_POZ, RGB_POZ, BIT_POZ;
  47.     int il_r, il_g, il_b;               //liczby bit≤w, przeznaczone na schowek
  48.     int daj_bit( unsigned char bajt, int poz);
  49.     unsigned char ustaw_bit( unsigned char bajt, int poz, int val);
  50.     bool zapisz_bit( int val);
  51. public:        // User declarations
  52.     __fastcall TForm1(TComponent* Owner);
  53. };
  54. //---------------------------------------------------------------------------
  55. extern PACKAGE TForm1 *Form1;
  56. //---------------------------------------------------------------------------
  57. #endif
  58.